home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hardcore Gamer Resource Kit
/
Hardcore Gamer Resource Kit - Disc 2.iso
/
Pc
/
A_C
/
CRSHK10A.ZIP
/
INSTALL.BAT
< prev
Wrap
DOS Batch File
|
1995-01-06
|
2KB
|
62 lines
@echo off
cls
Echo Working....
if exist cr1.00a goto CHECKPARMS
goto ERROR
:CHECKPARMS
if %1x==x goto USAGE
if %2x==x goto USAGE
if %2==%1 goto USAGE
goto CHECKCD
:USAGE
Echo Error! You must specify both the hard drive and CDROM drive letters
Echo.
Echo For example, if you wish to install Creature Shock to your C:
Echo drive and your CDROM drive is the D: drive then type the following
Echo.
Echo INSTALL C: D:
Echo.
goto END:
:CHECKCD
if exist %2\shock.exe goto OK
goto CDERROR
:OK
md %1\crshock > NUL
md %1\crshock\fly > NUL
copy %2\crshock\fly\*.* %1\crshock\fly > NUL
md %1\crshock\voc > NUL
copy %2\crshock\voc\*.* %1\crshock\voc > NUL
copy creature.cfg %1\crshock > NUL
copy dos4gw.exe %1\crshock > NUL
copy %2\install.exe %1\crshock > NUL
copy %2\shock.exe %1\crshock > NUL
%1
cd\crshock
Echo.
Echo The Creature Shock installation program is now going to be started.
Echo When it starts please verify that both the hard drive
Echo Installation Directory and CDROM drive letters are correct.
Echo.
pause
install
cls
Echo Creature Shock is now installed. Type 'SHOCK' to begin the game.
goto END
:ERROR
Echo Error! All of the files needed by the installer couldn't be found.
Echo.
Echo This can be caused by attempting to start the installer from a
Echo drive or directory other than the one in which the installer is located.
Echo.
Echo For example, if the Creature Shock update disk is in the A: drive
Echo then make sure you are at the A: prompt before trying to run
Echo this batch file.
goto END
:CDERROR
Echo Error! Please insert Creature Shock disk 1 into your CDROM drive
Echo and try again.
goto END
:END